package cn.wyl.product.mapper;

import cn.wyl.product.domain.Product;
import cn.wyl.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-11-19
 */
public interface ProductMapper extends BaseMapper<Product> {

    //服务下线
    void updateOffsaleState(@Param("ids") Long[] ids, @Param("date")Date date);

    //服务上线
    void updateOnsaleState(@Param("id") Long id, @Param("date")Date date);
}
